package pojo;

public class Dept {
    private int id;
    private String dname;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return dname;
    }

    public void setName(String name) {
        this.dname = name;
    }

    public Dept(){

    }
    public Dept(String name){
        this.dname = name;
    }
    public Dept(int id, String name){
        this.id = id;
        this.dname = name;

    }
}
